package club.dataresources.service;

import club.dataresources.bo.BarberWorkTimeBo;
import club.dataresources.entity.BarberWorkTime;
import com.github.pagehelper.Page;

import java.util.List;

public interface BarberWorkTimeService {

    //增
	public boolean addBarberWorkTime(BarberWorkTime barberWorkTime) throws Exception;

	//删
	public boolean removeBarberWorkTime(Integer barberId) throws Exception;

	//改
	public boolean updateBarberWorkTime(BarberWorkTime barberWorkTime) throws Exception;

	//查
	public BarberWorkTime findBwtByBarberId(Integer barberId) throws Exception;

	//列表
	public Page<BarberWorkTime> listBarberWorkTime(Integer page, Integer rows, BarberWorkTime barberWorkTime) throws Exception;

	//获取所有理发师的工作时间表
	public List<BarberWorkTimeBo> getAllBarberWorkerTime(int page,int rows) throws Exception;
}
